//
//  TurnOutView.h
//  SP2P
//
//  Created by 吴建东 on 16/6/12.
//  Copyright © 2016年 EIMS. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TurnOutViewDelegate <NSObject>
/**
 *  转出成功代理
 */
- (void)turnOutSuccess;

/**
 *  前往设置交易密码
 */
- (void)gotoSetTradePassword;

@end

@interface TurnOutView : UIView

/**
 *  @param viewType 1:网银  2余额
 */
@property (nonatomic, assign) NSInteger viewType;

- (void)loadView;

- (void)reloadTradePwdStaus;

@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

@property (weak, nonatomic) IBOutlet UIView *turnOutWayView;
@property (weak, nonatomic) IBOutlet UIImageView *logoImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@property (weak, nonatomic) IBOutlet UIImageView *selectImageView;
@property (weak, nonatomic) IBOutlet UIView *amountView;
@property (weak, nonatomic) IBOutlet UITextField *amountTextField;
@property (weak, nonatomic) IBOutlet UILabel *amountValue;
@property (weak, nonatomic) IBOutlet ClickButton *turnOutButton;
@property (weak, nonatomic) IBOutlet UILabel *remindLabel;
@property (weak, nonatomic) IBOutlet UILabel *avallableBalanceLabel;
@property (weak, nonatomic) IBOutlet UILabel *avallableBalanceValue;
@property (weak, nonatomic) IBOutlet UILabel *transAmountValue;
@property (weak, nonatomic) IBOutlet UILabel *moneyTypeValue;
@property (weak, nonatomic) IBOutlet UILabel *passwordValue;

@property (weak, nonatomic) IBOutlet UITextField *passwordTextField;

@property (nonatomic, copy) NSString *balanceStr; //账户余额
@property (nonatomic, assign) double sqbBalance;    //随取宝余额
@property (nonatomic, assign) double sqbFreezeBalance;    //随取宝冻结余额

@property (nonatomic, strong) NSDictionary *userBanksDict;

@property (nonatomic, weak) id<TurnOutViewDelegate>delegate;

@end
